package com.ruoyi.project.tickets.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 出库记录对象 t_out_stock
 * 
 * @author 孙山伟
 * @date 2023-07-01
 */
public class OutStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出库时间 */
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long outNumber;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 票券种类 */
    @Excel(name = "票券种类")
    private Long ruleId;



    /** 票券种类 */
    @Excel(name = "票券种类")
    private Long userId;
    /** 主键 */
    private Long id;

    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }
    public void setOutNumber(Long outNumber) 
    {
        this.outNumber = outNumber;
    }

    public Long getOutNumber() 
    {
        return outNumber;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("outTime", getOutTime())
            .append("outNumber", getOutNumber())
            .append("shopId", getShopId())
            .append("ruleId", getRuleId())
            .append("id", getId())
            .toString();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
